{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    {include file="form" /}
    <div class="cl pd-5 bg-1 bk-gray">
        <span class="l">
            {tp:menu menu="delete,recyclebin" /}
        </span>
        <span class="r pt-5 pr-5">
            共有数据 ：<strong>{$total ?? '0'}</strong> 条
        </span>
    </div>
    <table class="table table-border table-bordered table-hover table-bg mt-20">
        <thead>
        <tr class="text-c">
            {include file="th" /}
            <th width="70">操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="$driver_refused" id="vo"}
        <tr class="text-c">
            {include file="td" /}
            <td class="f-14">
                {tp:menu menu='sdelete' /}
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
    <div class="page-bootstrap">{$page ?? ''}{$driver_refused->render()}</div>
</div>
<script type="text/javascript" src="__LIB__/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
    function agree(url) {
        $.ajax({
            type: 'POST',
            url: url,
            data: null,
            success: function (re){
                layer.msg(re.msg, {
                    time: 20000, //20s后自动关闭
                    btn: [ '知道了']
                },function () {
                    location.reload()
                });
            },
        });
    }
    function reject(url) {
        $.ajax({
            type: 'POST',
            url: url,
            data: null,
            success: function (re){
                layer.msg(re.msg, {
                    time: 20000, //20s后自动关闭
                    btn: [ '知道了']
                },function () {
                    location.reload()
                });
            },
        });
    }
</script>
{/block}

